package com.woniu.zsd.platform.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangtao
 * @since 2025年02月18日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("announcement")
public class Announcement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "announcement_id", type = IdType.AUTO)
    private Integer announcementId;

    @TableField("publisher")
    private String publisher;

    @TableField("title")
    private String title;

    @TableField("content")
    private String content;

    @TableField("published_at")
    private LocalDateTime publishedAt;

    @TableField("image")
    private String image;


}
